﻿@model SelfMadeMillionaire.Web.Infrastructure.ViewModels.Home.HomeViewModel
@{
    ViewBag.Title = "Self-made Millionaire";
	Layout = "~/Views/Shared/_Layout.cshtml";
}

<div class="row">
    @if(Model.Publications.Count >= 1)
    {
        @Html.Partial("ShortPublication", Model.Publications[0])
    }

	@if(Model.Publications.Count >= 2) 
    {
        @Html.Partial("ShortPublication", Model.Publications[1])
    }
</div>

<!--banner block-->
<div style="display:block; text-align:center; margin:0 auto">
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- New Large with Grey Border -->
<ins class="adsbygoogle"
style="display:inline-block;width:728px;height:90px"
data-ad-client="ca-pub-6989012022803946"
data-ad-slot="8683153519"></ins>
<script>
    (adsbygoogle = window.adsbygoogle || []).push({});
</script>

</div>

<div class="row">
	@if(Model.Publications.Count >= 3)
    {  
        @Html.Partial("ShortPublication", Model.Publications[2])
    }

	@if(Model.Publications.Count >= 4) 
    {
        @Html.Partial("ShortPublication", Model.Publications[3])
    }
</div>

<!--banner block-->
<div style="display:block; text-align:center; margin:0 auto">
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- New Large with Grey Border -->
<ins class="adsbygoogle"
style="display:inline-block;width:728px;height:90px"
data-ad-client="ca-pub-6989012022803946"
data-ad-slot="8683153519"></ins>
<script>
    (adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>



